#include "SphereNode.h"

SphereNode::SphereNode(float fRad)
{
	fRadius = fRad;
	iResSli = 5;
	iResSta = 5;
}

SphereNode::SphereNode(float fRad, int iResSlice, int iResStack)
{
	fRadius = fRad;
	iResSli = iResSlice;
	iResSta = iResStack;
}

SphereNode::~SphereNode(void)
{
	// Delete
}

void SphereNode::Build()
{
	D3DXCreateSphere(pd3dDevice, fRadius, iResSli, iResSta, &pGeomMesh, NULL);
}